package com.itheima.test1.domain;

public class Demo {
    public static void main(String[] args) {
        Student stu1 = new Student("张三",23);
        Student stu2 = new Student();
        stu2.setName("李四");
        stu2.setAge(24);
        stu1.study();
        stu1.method();
        Teacher t1 = new Teacher("赵六",35);
        t1.show();
        t1.method();
    }
}
